home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 11
/
CU Amiga Magazine's Super CD-ROM 11 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-06].iso
/
www
/
http
/
www.amigasupport.com
/
software
/
arc
/
aiff_dtc.lha
/
source
/
Data.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-01-12
|
1KB
|
42 lines
/*
** AIFF DataType
**
** Written by Olaf `Olsen' Barthel <olsen@sourcery.han.de>
** Public domain
**
** :ts=4
*/
// Our custom library structure
struct ClassBase
{
struct Library LibNode; // Exec link
struct ExecBase *SysBase; // Exec library
struct DosLibrary *DOSBase; // Dos library
struct Library *IntuitionBase, // Intuition library
*UtilityBase, // Utility library
*IFFParseBase, // IFFParse library
*DataTypesBase, // DataTypes library
*SuperClassBase; // Sound datatype
struct SignalSemaphore LockSemaphore; // Shared access semaphore
Class *SoundClass; // The class this library implemnts
BPTR Segment; // Library segment pointer
struct Hook AsyncHook; // IFFHandle I/O hook
};
// Redirect references to global data into the library base
#define SysBase ClassBase -> SysBase
#define DOSBase ClassBase -> DOSBase
#define IntuitionBase ClassBase -> IntuitionBase
#define UtilityBase ClassBase -> UtilityBase
#define IFFParseBase ClassBase -> IFFParseBase
#define DataTypesBase ClassBase -> DataTypesBase
#define SuperClassBase ClassBase -> SuperClassBase
#define LockSemaphore ClassBase -> LockSemaphore
#define SoundClass ClassBase -> SoundClass
#define Segment ClassBase -> Segment
#define AsyncHook ClassBase -> AsyncHook